<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户注册  | 万应教育</title>
<jsp:include page="/WEB-INF/inc/meta.jsp"/>
<link href='<onein:url value="/styles/all.css"/>' type="text/css" rel="stylesheet" />
<script src="<onein:url value="/scripts/jquery.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/register.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/My97DatePicker/WdatePicker.js"/>" type="text/javascript"></script>
</head>

<body>
	<jsp:include page="/WEB-INF/inc/header.jsp"/>
    <jsp:include page="/WEB-INF/inc/menu.jsp"/>
    <div id="bodyWrap">
      <div class="regNav2">
   	    <span class="NavStep1">1.填写邮箱和密码</span>
   	    <span class="NavStep2 NavCurrent">2.选择服务</span>
   	    <span class="NavStep3">3.注册成功</span>
   	  </div>
      <div class="regSelectAgesSelected">
   		  <div>
   		     推广内容！！！！！<br/><br/><br/><br/><br/><br/>
          </div>          
      </div>
      <div class="regSelectAgesNormal" style="padding-bottom:5px;margin-top:7px;">
      	<div class="productTitle">
      	  <p>万应帐号[${email}]注册成功</p><p>马上点亮会员服务，享受儿童教育专家为你定制的的每日育儿指南吧</p>
      	  <p></p>
      	</div>
      	<div class="productSelectList">
	      	<c:forEach var="product" items="${products}" varStatus="status">
                <div class="item" id="${product.id}" onclick="selectProduct('${product.id}','${product.name}','${product.price}')">
	      	      <div class="product${status.index}">${product.description }/￥${product.price}元</div>
	      	    </div>
	      	</c:forEach>
      	</div>		 
        <div class="increment">
          <span>即将开通彩信增值服务!</span>
        </div>
        <div class="totalAmount" id="totalAmountDiv" style="display:none">
          <p id="totalAmount"></p>
        </div>
        <div class="regTextWrap2" id="productNullError" style="display:none;margin:0 auto;margin-top:5px;">
          <p class="regSatu">请选择您要支付的万应儿童教育会员服务.</p>
        </div>
      </div>
     
      <div style="margin:0 auto;margin-top:15px;">
        <input title="立即支付会员服务" style="display:inline;" onclick="javascript:submitProduct('<onein:url value="/payment/order.create"/>');" name="payBt" class="pay_but_long" value="" type="button"/>
        <input title="稍后选择会员服务" style="display:inline;margin-left:60px;" onclick="javascript:window.location='<onein:url value="/register/step3"/>'" name="laterBt" class="later_but_long" value="" type="button"/>
      </div>
      <div class="ca"></div>
</div>
<jsp:include page="/WEB-INF/inc/footer.jsp"/>
<div class="regUpWrap" id="registerDivId" style="display:none;text-align:center;">
<div class="shadow1">
<div class="shadow2">
<div class="popUpWrapInside" >
      <table align="center" width="100%">
                <tr><th align="center" colspan="2" height="40">您选择的会员服务</th></tr>
                <tr>
                  <td align="right" width="30%">名称:</td>
                  <td align="left" id="confirmProductName" align = "left"></td>
                </tr>
                <tr height="40">
                  <td  align="right" width="30%">金额:</td>
                  <td id="confirmProductPrice" align = "left"></td>
                </tr>
                <tr align="center">
                  <td colspan=2 align="center">
                    <a href="<onein:url value="/register/step3"/>" class="reg2botton2"><span>已经支付成功</span></a>
                    <a href="<onein:url value="/register/step3"/>" class="reg2botton2"><span>支付遇到问题</span></a>
                  </td>
                </tr>
              </table>
      <div class="ca"></div>
  </div>
  </div></div></div>

<div class="lockBobyDiv" id="lockBodyDivId" style="display:none;"></div>
</body>
</html>
